<template>
    <div>
        <a-spin :spinning="loading" size="large" class="loading-spinner" />
        <div class="details_container show-pc">

            <div v-show="!loading">
                <div class="details_top">
                    <div>
                        <div class="back_button" @click="handleHome">
                            <img src="../../assets/images/new_img/箭头-01.png" alt="" class="Back_icon">
                            <span class="Back_text">返回</span>
                        </div>
                    </div>
                    <div class="middle">
                        <div class="middle_left">
                            <div class="left_img" v-for="(img, index) in images" :key="index">
                                <sshbImage :width="60" :height="60" :src="img"
                                    style="border-radius: 0.2vw; margin-top: 0.52vw;">
                                </sshbImage>
                            </div>
                        </div>
                        <div class="middle_box">
                            <div>
                                <sshbImage :width="658" :height="645" :src="currentImage"
                                    style="border-radius: 0.52vw; margin-top: 0.52vw;" preview>
                                </sshbImage>
                            </div>
                            <div class="info_container">
                                <div>


                                    <div class="Collect_ico">
                                        <div @click="toggleLike">
                                            <img v-show="!isLiked" src="../../assets/images/new_img/详情空心.png" alt=""
                                                class="icfonImg">
                                            <img v-show="isLiked" src="../../assets/images/new_img/实心.png" alt=""
                                                class="icfonImg">
                                        </div>
                                        <div @click="toggleCollect">
                                            <img v-show="!isCollected" src="../../assets/images/new_img/实心收藏.png" alt=""
                                                class="icfonImg—sc">
                                            <img v-show="isCollected" src="../../assets/images/new_img/详情空心收藏.png"
                                                alt="" class="icfonImg—sc">
                                        </div>
                                    </div>
                                    <div class="Collect_name">数学家咖啡品牌视觉设计</div>
                                    <div class="Collect_intro">
                                        <div class="Nmae_text">
                                            砂之船素材
                                        </div>
                                        <div class="Line"></div>
                                        <div class="id_container">
                                            <span>ID：</span>
                                            <span>15646512345</span>
                                            <span><img src="../../assets/images/new_img/复制2.png" alt=""></span>
                                            <span v-if="isCopied" style="color: green; margin-top:0.26vw;">
                                                已复制！</span>

                                        </div>
                                    </div>
                                </div>
                                <div class="Collect_box">
                                    <div class="Collect_sort">
                                        <div>
                                            <div>
                                                <span class="title_1">分类</span>
                                                <span style="font-size: 0.72vw; color: var(--color-text-3);">VI标准</span>
                                            </div>
                                            <div class="MaterialBox">
                                                <div class="title_1">
                                                    格式
                                                </div>
                                                <div>
                                                    <a-space direction="vertical">
                                                        <a-radio-group v-model:value="value1" :options="plainOptions"
                                                            class="custom-radio-group" />
                                                    </a-space>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>

                                <div class="author">
                                    <div class="author_info">
                                        <div class="author_text">作者</div>
                                        <div><img src="../../assets/images/local_img/userInfo.jpg" alt=""
                                                class="Name_img">
                                        </div>
                                        <div class="author_name">名字</div>
                                    </div>
                                    <div class="follow_btn">关注</div>
                                </div>
                                <div class="Download_bt">
                                    <div>
                                        <span>立即下载</span>
                                    </div>
                                </div>
                                <div class="Line-wap"></div>
                                <div class="bottom_box">
                                    <div class="theme">
                                        <div class="logo_txet">相关主题—LOGO</div>
                                        <div>
                                            <span class="more_text">更多</span>
                                            <img src="../../assets/images/new_img/右箭头.png" alt="">
                                        </div>
                                    </div>
                                    <div class="related_images">
                                        <div v-for="(item, index) in images_url">
                                            <sshbImage :width="110" :height="110" :src="item"
                                                style="border-radius: 0.2vw; margin-top: 0.52vw; border-radius: 0.52vw;">
                                            </sshbImage>
                                        </div>
                                    </div>
                                </div>

                            </div>
                        </div>
                    </div>
                    <div class="close_button" @click="handleHome">
                        <img src="../../assets/images/new_img/叉.png" alt="">
                    </div>
                </div>
                <!-- 为你推荐 -->
                <div class="recommendation_section">
                    <div style="margin: 20px 0px ;color: var(--color-text-3);">为你推荐</div>
                    <div>
                        <Waterfall :col="3" :data-source="list">
                            <template #default="{ item }">
                                <Card :item />
                            </template>
                        </Waterfall>
                    </div>
                </div>
            </div>
        </div>

        <div class="show-wap">
            <div>
                <a-spin :spinning="loading" size="large" class="loading-spinner" />
            </div>
            <div class="wap-box" v-show="!loading">
                <!-- 主图 -->
                <div class="HostGraph">
                    <div class="HostGraph_box">
                        <sshbImage :width="1820" :height="1700" :src="currentImage"
                            style="border-radius: 4px; margin-top: 10px;" preview>
                        </sshbImage>

                        <div class="Collect_ico-wap">
                            <div @click="toggleLike">
                                <div class="png-bg">
                                    <img v-show="!isLiked" src="../../assets/images/new_img/空心.png" alt=""
                                        class="icfonImg-wap">
                                    <img v-show="isLiked" src="../../assets/images/new_img/实心.png" alt=""
                                        class="icfonImg-wap">
                                </div>
                            </div>
                            <div @click="toggleCollect">
                                <div class="png-bg">
                                    <img v-show="!isCollected" src="../../assets/images/new_img/实心收藏.png" alt=""
                                        class="icfonImg-wap">
                                    <img v-show="isCollected" src="../../assets/images/new_img/空心收藏.png" alt=""
                                        class="icfonImg-wap">
                                </div>


                            </div>
                        </div>
                    </div>

                </div>
                <div class="middle_left-wap">

                    <div class="images-container">
                        <div class="left_img-wap" v-for="(img, index) in images" :key="index">
                            <sshbImage :width="480" :height="460" :src="img" class="scroll-image"></sshbImage>
                        </div>
                    </div>
                </div>
                <div class="info_container-wap">
                    <div class="Collect_name-wap">数学家咖啡品牌视觉设计</div>
                    <div class="Collect_intro-wap">
                        <div class="Nmae_text-wap">
                            砂之船素材
                        </div>
                       
                        <div class="id_container-wap">
                            <span>ID：</span>
                            <span>15646512345</span>
                            <span><img src="../../assets/images/new_img/复制2.png" alt=""></span>
                            <span v-if="isCopied" style="color: green; margin-top: 5px;">
                                已复制！</span>
                        </div>
                    </div>
                    <div class="Collect_sort-wap">
                        <div style="display: flex; gap: 10px ;">
                            <div class="title_1-wap">分类</div>
                            <div style="font-size: 16px; color: var(--color-text-3);">VI标准</div>

                        </div>
                        <div class="MaterialBox-wap">
                            <div class="title_1-wap">
                                格式
                            </div>
                            <div>
                                <a-space direction="vertical">
                                    <a-radio-group v-model:value="value1" :options="plainOptions"
                                        class="custom-radio-group" />
                                </a-space>
                            </div>
                        </div>
                    </div>
                    <div class="author-wap">
                        <div class="author_info-wap">
                            <div class="author-text-wap">作者</div>
                            <div><img src="https://oss.acehls.com/obj/huangjing.png" alt="" class="Name_img-wap"></div>
                            <div class="author-name-wap">名字</div>
                        </div>
                        <div class="follow_btn-wap">关注</div>
                    </div>
                    <div class="Download_bt-wap">

                        <span>立即下载</span>

                    </div>
                    <div class="bottom_box-wap">
                        <div class="theme-wap">
                            <div class="logo_txet-wap">相关主题—LOGO</div>
                            <div>
                                <span class="more_text-wap">更多</span>
                                <img src="../../assets/images/new_img/右箭头.png" alt="">
                            </div>
                        </div>
                        <div class="related_images-wap">
                            <div v-for="(item, index) in images" :key="index" class="related_img_item-wap">
                                <sshbImage :width="480" :height="460" :src="item" class="itemImg-wap"></sshbImage>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
            <!-- 为你推荐 -->
            <div class="recommendation_section-wap" v-show="!loading">
                <div style="padding: 10px 0px;color: var(--color-text-3);">为你推荐</div>
                <div>
                    <Waterfall :col="3" :data-source="list">
                        <template #default="{ item }">
                            <Card :item />
                        </template>
                    </Waterfall>
                </div>
            </div>

        </div>
    </div>
</template>

<script setup>
import { ref } from 'vue';
import Waterfall from '@/components/Waterfall/index.vue'
import { useRoute, useRouter } from 'vue-router'
import sshbImage from '@/sshbComponents/sshbImage/index.vue';
import img_1 from "../../assets/images/local_img/img_1.png"
import img_2 from "../../assets/images/local_img/img_2.png"
import img_3 from "../../assets/images/local_img/img_3.png"
import img_4 from "../../assets/images/local_img/img_4.png"
import img_5 from "../../assets/images/local_img/img_5.png"
import img_6 from "../../assets/images/local_img/img_6.png"
import img_7 from "../../assets/images/local_img/img_7.png"
import img_8 from "../../assets/images/local_img/img_8.png"
import img_9 from "../../assets/images/local_img/img_9.png"
import img_10 from "../../assets/images/local_img/img_10.png"

const router = useRouter()
const route = useRoute()

const images = [
    img_5,
    img_1,
    img_10,
    img_9,
    img_8,
    img_7,
    img_6,
    img_3,




];

const images_url = [
    img_1,
    img_10,
    img_9,
    img_8,
    img_7,
    img_6,

];


const list = ref([{
    imgurl: img_2,
    text: "档期活动物料",
    name: "作家sss"
}, {
    imgurl: img_5,
    text: "图片2",
    name: "作家"
}, {
    imgurl: img_7,
    text: "图片3",
    name: "作家"
}, {
    imgurl: img_8,
    text: "图片4",
    name: "作家"
}, {
    imgurl: img_10,
    text: "图片5",
    name: "作家"
}, {
    imgurl: img_6,
    text: "图片2",
    name: "作家"
}, {
    imgurl: img_9,
    text: "图片3",
    name: "作家"
}, {
    imgurl: img_10,
    text: "图片4",
    name: "作家"
}, {
    imgurl: img_1,
    text: "图片5",
    name: "作家"
}, {
    imgurl: img_2,
    text: "图片2",
    name: "作家"
}, {
    imgurl: img_4,
    text: "图片3",
    name: "作家"
}, {
    imgurl: img_8,
    text: "图片4",
    name: "作家"
}, {
    imgurl: img_3,
    text: "图片5",
    name: "作家"
},
{
    imgurl: img_8,
    text: "图片4",
    name: "作家"
}, {
    imgurl: img_10,
    text: "图片5",
    name: "作家"
}, {
    imgurl: img_6,
    text: "图片2",
    name: "作家"
}, {
    imgurl: img_9,
    text: "图片3",
    name: "作家"
},
])

const currentImage = ref(images[0]);
const hoveredIndex = ref(null);
const showMainMagnifier = ref(false);
const isModalOpen = ref(false);
const modalImage = ref('');
// 收藏和点赞状态管理
const isLiked = ref(false)
const isCollected = ref(false)
const plainOptions = ['PSD', 'JPG',];

const value1 = ref('Apple');

// 切换点赞状态
const toggleLike = async () => {
    isLiked.value = !isLiked.value
    await sendStatusToBackend('like', isLiked.value)
}

// 切换收藏状态
const toggleCollect = async () => {
    isCollected.value = !isCollected.value
    await sendStatusToBackend('collect', isCollected.value)
}


// 用于控制是否显示"已复制"提示
const isCopied = ref(false);

// 复制操作
const copyAccount = () => {
    const account = userInfo.value.account;

    // 创建一个临时的输入框
    const tempInput = document.createElement('input');
    tempInput.value = account;
    document.body.appendChild(tempInput);

    // 选中文本并执行复制
    tempInput.select();
    document.execCommand('copy');

    // 删除临时输入框
    document.body.removeChild(tempInput);

    // 显示复制成功提示
    isCopied.value = true;

    // 3秒后隐藏提示
    setTimeout(() => {
        isCopied.value = false;
    }, 3000);
};


const setHoveredIndex = (index) => {
    hoveredIndex.value = index;
    currentImage.value = images[index];
};

const openModal = (imgSrc) => {
    modalImage.value = imgSrc;
    isModalOpen.value = true;
    document.body.style.overflow = 'hidden';
};

const closeModal = () => {
    isModalOpen.value = false;
    document.body.style.overflow = '';
};

const handleHome = () => {
    router.back()

}

// 加载状态控制
const loading = ref(true)

// 模拟数据加载
onMounted(() => {
    setTimeout(() => {
        loading.value = false
    }, 1000) // 1.5秒后关闭加载状态
})



</script>

<style lang="less" scoped>
.details_container {
    width: 100vw;
    margin: 0 auto;
    margin-top: 0.31vw;
    background-color: var(--color-bg-12);


    .details_top {
        padding: 4.16vw 0px;
        display: flex;
        justify-content: space-between;
        padding-left: 1.04vw;
        padding-right: 1.56vw;

        .back_button {
            margin-left: 0.52vw;
            display: flex;
            align-items: center;
            gap: 0.46vw;

            .Back_icon {
                width: 0.98vw;
                height: 0.72vw;

            }

            .Back_text {
                font-size: 0.83vw;
                color: var(--color-text);
            }
        }

        .middle {
            display: flex;
            gap: 1.92vw;

            .middle_left {
                width: 3.64vw;
                height: auto;
                background-color: var(--color-bg-20);
                border-radius: 0.52vw;

                .left_img {
                    display: grid;
                    align-items: center;
                    justify-content: center;
                    row-gap: 1.04vw;
                }
            }

            .middle_box {
                width: 56.5vw;
                height: 35.9vw;
                background-color: var(--color-bg-20);
                border-radius: 1.04vw;
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 0.93vw;


                .info_container {
                    width: 19.1vw;
                    height: 33.5vw;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;





                    .Collect_ico {

                        display: flex;
                        align-items: center;
                        gap: 1.04vw;
                        margin-top: 0.7vw;

                        .icfonImg {
                            width: 1.25vw;
                            height: 1.25vw;
                        }

                        .icfonImg—sc {
                            width: 1.1vw;
                            height: 1.1vw;
                            margin-bottom: 0.2vw;
                        }
                    }


                    .Collect_name {

                        font-size: 1.14vw;
                        color: var(--color-text-3);
                        margin: 0.2vw 0px;

                    }

                    .Collect_intro {
                        display: flex;
                        align-items: center;
                        flex-wrap: wrap;
                        gap: 0.52vw;
                        // margin-top: 1.56vw;

                        .Nmae_text {
                            font-size: 0.83vw;
                            color: var(--color-text-3);
                            // margin: 0.52vw 0px;
                        }

                        .Line {
                            height: 0.72vw;
                            border-left: 1px solid #333333;
                        }

                        .id_container {
                            color: var(--color-text);
                            display: flex;
                            align-items: center;
                            gap: 0.26vw;
                            font-size: 0.72vw;

                            img {
                                width: 0.62vw;
                                height: 0.62vw;
                                // margin-left: 0.3vw;
                            }
                        }
                    }

                    .Collect_sort {
                        color: var(--color-text);
                        // margin: 0.72vw 0;
                        display: grid;
                        gap: 0.52vw;
                        // margin: 0.83vw 0px;

                        .title_1 {
                            color: var(--color-text);
                            margin-right: 0.52vw;
                            font-size: 0.72vw
                        }

                        .MaterialBox {
                            display: flex;
                            align-items: center;
                            margin-top: 0.6vw;

                            /* 修改所有选项文字颜色 */
                            .custom-radio-group :deep(.ant-radio-wrapper) {
                                color: var(--color-text-3) !important;
                                font-size: 0.72vw;

                            }
                        }
                    }

                    .author {

                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        color: var(--color-text);
                        // margin: 1vw 0px;


                        .author_info {
                            display: flex;
                            align-items: center;
                            gap: 0.52vw;
                            font-size: 0.72vw;

                            .Name_img {
                                width: 1.45vw;
                                height: 1.45vw;
                                border-radius: 50%;
                                object-fit: cover;
                            }

                            .author_text {
                                color: var(--color-text);
                            }

                            .author_name {
                                color: var(--color-text-3);
                            }

                        }

                        .follow_btn {
                            width: 2.60vw;
                            height: 1.56vw;
                            text-align: center;
                            line-height: 1.56vw;

                            border-radius: 0.41vw;
                            background-color: var(--color-btn-b);
                            color: var(--color-text);
                            font-size: 0.72vw;
                            cursor: pointer;
                        }


                    }

                    .Download_bt {
                        width: 100%;
                        height: 1.92vw;
                        background-color: var(--btn-b-lj);
                        color: var(--btn-color);
                        border-radius: 0.31vw;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        gap: 0.52vw;

                        // margin-top: 2vw;
                        cursor: pointer;
                        font-size: 0.72vw;

                        img {
                            width: 1.14vw;
                            height: 1.14vw;

                        }

                    }

                    .Line-wap {
                        border: 0.10vw solid var(--border-b2);
                    }

                    .bottom_box {
                        width: 100%;





                        .theme {
                            width: 100%;
                            display: flex;
                            justify-content: space-between;
                            // margin-top: 1vw;
                            // margin-bottom: 0.6vw;



                            .logo_txet {
                                font-size: 0.83vw;
                                color: var(--color-text);
                            }

                            .more_text {
                                font-size: 0.72vw;
                                color: var(--color-text);
                            }

                            div:last-child {
                                display: flex;
                                align-items: center;
                                gap: 0.41vw;

                                img {
                                    width: 0.52vw;
                                    height: 0.52vw;
                                }
                            }
                        }

                        .related_images {
                            display: flex;
                            justify-content: space-around;
                            flex-wrap: wrap;
                            gap: 0.20vw;
                            border-radius: 0.52vw;

                            .related_img_item {

                                .itemImg {
                                    width: 100%;
                                    height: 5.72vw;
                                    border-radius: 0.52vw;
                                    object-fit: cover;
                                }
                            }
                        }
                    }
                }
            }



        }

        .close_button {
            width: 0.72vw;
            height: 0.72vw;

        }

        .close_button>img {
            width: 100%;
            height: 100%;

        }


    }

    // pc端


    .recommendation_section {
        padding: 1.04vw;
        background-color: var(--color-bg-20);
        border-radius: 0.52vw;
        font-size: var(--text-18);
        font-weight: bold;
        box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
        text-align: center;
        font-size: var(--text-22);
        color: var(--color-text);
    }

}


// 手机
.show-wap {
    .wap-box {
        width: 95%;
        margin: 0 auto;


        .HostGraph {

            margin: 0 auto;

            .HostGraph_box {

                position: relative;



                .Collect_ico-wap {
                    position: absolute;
                    bottom: 10px;
                    display: flex;
                    gap: 10px;
                    margin-left: 10px;

                    .png-bg {
                        width: 35px;
                        height: 35px;
                        background-color: rgba(0, 0, 0, 0.5);
                        border-radius: 10px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        position: relative;


                        .icfonImg-wap {
                            width: 20px;
                            height: 20px;
                            z-index: 99;
                            position: relative;
                        }
                    }
                }
            }

        }


        .middle_left-wap {
            width: 100%;

            background-color: var(--color-bg-20);
            border-radius: 10px;
            display: flex;
            margin: 20px 0px;
            padding: 10px;

            .images-container {
                width: 100%;
                overflow-x: auto;
                display: flex;
                gap: 10px;

                /* 隐藏滚动条 */
                scrollbar-width: none;

                /* Firefox */
                &::-webkit-scrollbar {
                    display: none;
                    /* Chrome/Safari */
                }
            }

            .left_img-wap {
                flex: 0 0 auto;

            }

            .scroll-image {
                width: 200px;
                height: 200px;
                border-radius: 4px;
                object-fit: cover;
            }
        }

        .info_container-wap {
            // width: 95%;
            display: grid;
            gap: 10px;


            .Collect_ico-wap {
                display: flex;
                gap: 20px;




            }

            .Collect_name-wap {
                // margin-top: 1.5vw;
                font-size: 18px;
                color: var(--color-text-3);
                font-weight: normal;
                font-stretch: normal;
            }

            .Collect_intro-wap {
                display: flex;
                align-items: center;
                flex-wrap: wrap;
                gap: 10px;
                margin-bottom: 10px;

                .Nmae_text-wap {
                    font-size: 16px;

                    color: var(--color-text-3);
                }

                .Line-wap {
                    height: 14px;
                    border-left: 1px solid #333333;
                }

                .id_container-wap {
                    color: var(--color-text);
                    display: flex;
                    align-items: center;
                    gap: 5px;
                    font-size: 16px;

                    img {
                        width: 14px;
                        height: 14px;
                        margin-left: 6px;
                    }
                }
            }

            .Collect_sort-wap {
                color: var(--color-text);
                // margin: 0.72vw 0;
                display: grid;
                gap: 10px;



                .MaterialBox-wap {
                    display: flex;
                    gap: 10px;

                    .title_1-wap {
                        color: var(--color-text);
                        margin-right: 0.52vw;
                        font-size: 16px;
                    }

                    .custom-radio-group :deep(.ant-radio-wrapper) {
                        color: var(--color-text-3) !important;
                        font-size: 16px;

                    }
                }
            }

            .author-wap {
                // height: 50px;
                display: flex;
                align-items: center;
                justify-content: space-between;
                color: var(--color-text);


                .author_info-wap {
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    font-size: 16px;
                    margin: 10px 0px;

                    .author-text-wap {
                        color: var(--color-text);
                    }

                    .author-name-wap {
                        color: var(--color-text-3);
                    }

                    .Name_img-wap {
                        width: 30px;
                        height: 30px;
                        border-radius: 50%;
                        object-fit: cover;
                    }
                }

                .follow_btn-wap {
                    width: 50px;
                    height: 30px;
                    text-align: center;
                    line-height: 30px;
                    background-color: var(--color-btn-b);
                    border-radius: 8px;
                    color: var(--color-text);
                    font-size: 14px;
                    cursor: pointer;
                    margin-right: 10px;
                }


            }

            .Download_bt-wap {
                width: 100%;
                height: 40px;
                background-color: var(--btn-b-lj);
                border-radius: 6px;
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 10px;
                color: var(--btn-color);
                margin: 10px 0px;
                cursor: pointer;
                font-size: 16px;
                // margin-right: 4px;

                img {
                    width: 23px;
                    height: 23px;

                }
            }

            .bottom_box-wap {
                width: 100%;
                margin-top: 10px;
                padding-top: 10px;
                border-top: 2px solid var(--border-b2);



                .theme-wap {
                    width: 100%;
                    display: flex;
                    justify-content: space-between;
                    margin-top: 10px;
                    margin-bottom: 10px;



                    .logo_txet-wap {
                        font-size: 18px;
                        color: var(--color-text);
                    }

                    .more_text-wap {
                        font-size: 16px;
                        color: var(--color-text);
                    }

                    div:last-child {
                        display: flex;
                        align-items: center;
                        gap: 8px;

                        img {
                            width: 14px;
                            height: 14px;
                        }
                    }
                }

                .related_images-wap {
                    width: calc(100vw - 20px);
                    max-width: 100%;
                    display: flex;
                    overflow-x: auto;
                    flex-wrap: nowrap;
                    gap: 10px;
                    padding: 10px;
                    border-radius: 10px;
                    background-color: var(--color-bg-20);
                    /* 隐藏滚动条（可选） */
                    scrollbar-width: none;

                    &::-webkit-scrollbar {
                        display: none;

                    }
                }

                .related_img_item-wap {
                    flex: 0 0 auto;
                    width: auto;
                    overflow: hidden;

                }

                .itemImg-wap {
                    width: 100%;
                    height: auto;
                    max-width: 100%;
                    border-radius: 4px;
                    object-fit: cover;

                }







            }
        }

    }

    .recommendation_section-wap {
        margin-top: 20px;
        background-color: var(--color-bg-20);
        border-radius: 10px;
        font-size: 18px;
        font-weight: bold;
        box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
        text-align: center;
        font-size: 18px;
        color: var(--color-text);
    }
}
</style>